package com.shujia.utils

import org.apache.spark.internal.Logging

abstract class SparkMain extends Logging {
  var day: String = _

  def main(args: Array[String]): Unit = {
    if (args.length == 0) {
      log.error("请指定日期！")
      return
    }
    day = args.head

    this.run(day)

  }

  def run(day: String): Unit = {

  }

}
